package com.ktg.mes.erpBom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 产品结构档案子表
 * @Author: jeecg-boot
 * @Date:   2022-08-20
 * @Version: V1.0
 */
@ApiModel(value="ProductStructures对象", description="Erp-产品结构档案子表")
@Data
@TableName("ProductStructures")
public class T6ErpProductStructureItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**子表标识 */
    @ApiModelProperty(value = "子表标识")
    @TableField(value = "AutoID")
    private Long AutoID;


	/**父项产品编码*/
    @ApiModelProperty(value = "父项产品编码 ")
    @TableField(value = "cPSPCode")
    private String cPSPCode;

    /**子项类型*/
    @ApiModelProperty(value = "子项类型")
    @TableField(value = "cPSType")
    private String cPSType;

    /**子项项产品编码*/
    @ApiModelProperty(value = "子项项产品编码 ")
    @TableField(value = "cPSCode")
    private String cPSCode;



    /**仓库编码*/
    @ApiModelProperty(value = "仓库编码")
    @TableField(value = "cWhCode")
    private String cWhCode;

    /**定额数量*/
    @ApiModelProperty(value = "定额数量")
    @TableField(value = "iPSQuantity")
    private String iPSQuantity;

    /**库管员*/
    @ApiModelProperty(value = "库管员")
    @TableField(value = "cPersonName")
    private String cPersonName;

    /**存货自由项1*/
    @ApiModelProperty(value = "存货自由项1")
    @TableField(value = "cFree1")
    private String cFree1;

    /**存货自由项2*/
    @ApiModelProperty(value = "存货自由项2")
    @TableField(value = "cFree2")
    private String cFree2;

    /**损耗率*/
    @ApiModelProperty(value = "损耗率")
    @TableField(value = "iWasteRate")
    private String iWasteRate;

    /**辅计量单位编码*/
    @ApiModelProperty(value = "辅计量单位编码")
    @TableField(value = "cCAAComunitCode")
    private String cCAAComunitCode;

    /**父项产品标识*/
    @ApiModelProperty(value = "父项产品标识")
    @TableField(value = "iPId")
    private String iPId;

    /**子项作为父项的标识*/
    @ApiModelProperty(value = "子项作为父项的标识")
    @TableField(value = "ChildGUID")
    private String ChildGUID;

    /**换算率 */
    @ApiModelProperty(value = "换算率 ")
    @TableField(value = "iProdChangRate")
    private String iProdChangRate;

    /**时间戳 */
    @ApiModelProperty(value = "时间戳")
    @TableField(value = "to_pubufts")
    private String toPubufts;

    /**时间戳 */
    @ApiModelProperty(value = "时间戳")
    @TableField(value = "pubufts")
    private String pubufts;

    /**插位1 */
    @ApiModelProperty(value = "插位1")
    @TableField(value = "cInsertFirst")
    private String cInsertFirst;


    /**插位2 */
    @ApiModelProperty(value = "插位2")
    @TableField(value = "cInsertSecond")
    private String cInsertSecond;


    /**插位3 */
    @ApiModelProperty(value = "插位3")
    @TableField(value = "cInsertThird")
    private String cInsertThird;



}
